import { createRouter, createWebHistory } from "vue-router";

import Vue2 from "../views/vue2/index.vue";
import Vue3 from "../views/vue3/index.vue";

export const routes = [
  {
    path: "/vue2",
    component: Vue2,
    name: "vue2",
  },
  {
    path: "/vue3",
    component: Vue3,
    name: "vue3",
  },
];

export default createRouter({
  history: createWebHistory(),
  routes,
});
